package com.chart.common.constant;

/**
 * 缓存的key 常量
 *
 * @author chart
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * vip redis key
     */
    public static final String VIP_OFFER = "vip_offer:";

    /**
     * order redis key
     */
    public static final String CHART_ORDER = "chart_order:";

    /**
     * 图表配置值 redis key
     */
    public static final String CHART_CONFIGS = "chart_configs:";

    /**
     * 图表主题配置值 redis key
     */
    public static final String CHART_THEME = "chart_theme:";


    /**
     * 技术领域 redis key
     */
    public static final String CHART_TECHNOLOGY = "chart_technology:";

    /**
     * 学科领域 redis key
     */
    public static final String CHART_SUBJECT_TYPE = "chart_subject_type:";


    /**
     * 图表类型 redis key
     */
    public static final String CHART_TYPE = "chart_type:";


    /**
     * 图表接口 redis key
     */
    public static final String CHART_INTERFACE = "chart_interface:";


    /**
     * 图表套餐 redis key
     */
    public static final String CHART_PACKAGES = "chart_packages:";

    /**
     * 用户查询图表配置缓存key
     */
    public static final String CHART_USER_CONFIGS_KEY = "chart_user_configs:";


    /**
     * 天气ip
     */
    public static final String WEATHER_IP = "weather_ip:";


    /**
     * 大屏tokens
     */
    public static final String LARGE_TOKEN_KEY = "large_tokens:";


}
